<%@ page import="bean.ScoreVO"%>
<%@ page import="bean.ScoreDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../css/score.css" />
<script type="text/javascript" src="../js/B01score.js"></script>
<title>점수 정보 수정(modify.jsp)</title>
</head>
<body>
<jsp:useBean id="vo" class = 'bean.ScoreVO' scope='page'/>
<jsp:setProperty property="*" name="vo"/>
<%
ScoreDTO dto = new ScoreDTO();
dto.setVo(vo);
ScoreVO v = dto.selectOne();
%>

<h1>점수 정보 수정</h1>
<div id="set">
		<form name= "frm" method="post" action="#">
		
		<input type = "hidden" name ="rno" size = "20" value="<%=v.getRno()%>" />
	      <label class="lbl">이름</label>
	        <input type = "text" name ="mid" size = "20" value="<%=v.getMid()%>" /><br>
	        
	      <label class="lbl">학년</label>
	         <select name="grade" value="<%=v.getGrade()%>" >
                  <option value="1">1학년</option>
                  <option value="2">2학년</option>
                  <option value="3">3학년</option>
                  <option value="4">4학년</option>
           </select> <br>
	        
	       <label class="lbl">학교코드</label>
	        <input type = "text" name ="scode" size = "20" value="<%=v.getScode()%>"  /><br>
	        
	       <label class="lbl">시험 일자</label>
	       <input type = "date" name ="examdate" value="<%=v.getExamdate()%>"  /><br>
	        
	      <label class="lbl" >시험 과목</label>
	      <input type = "text" name ="exam" size = "20" value="<%=v.getExam()%>"  /><br>
	      
	      <label class="lbl">과목 점수</label>
	        <input type = "text" name ="point" size = "20" value="<%=v.getPoint()%>"  /><br>
	        
	      <label class="lbl">랭크</label>
	        <input type = "text" name ="rank" size = "20" value="<%=v.getRank()%>"  /><br>
	        
	        <div id= "line_up">
		        <input type="button" value="점수 저장" id= "btnModySave"/>
				<input type="button" value="점수 목록으로" id= "btnList"/>
	        </div>
	        
	    </form>
</div>
	


<script type="text/javascript">modifyInit();</script>
</body>
</html>